<div class="content-section" id="myContent" >
    <div class="title col-sm-12">
        <div class="col-sm-2">
            <span>{{title}}</span>
        </div>
        <div class="col-sm-10 pull-right">
        </div>
    </div>
    <form [formGroup]="myForm" class="form-horizontal">
        <div class="form-group">
            <label class=" title-style col-sm-2 control-label text-align-left">基本信息</label>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">机柜列归属：</label>
            <div class="col-sm-10 ui-fluid-no-padding">
                <div class="col-sm-8 ui-fluid ui-fluid-no-padding">
                    <input type="text" pInputText
                           readonly
                           [(ngModel)]="cabinetObj.father"
                           formControlName="father"
                           class="form-control cursor_not_allowed"/>
                </div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">机柜列名称：</label>
            <div class="col-sm-10 ui-fluid-no-padding">
                <div class="col-sm-11 ui-fluid ui-fluid-no-padding">
                    <input type="text" pInputText
                           name="department"
                           readonly
                           [(ngModel)]="cabinetObj.name"
                           formControlName="name"
                           class="form-control"/>
                </div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">规划功率(Kw)：</label>
            <div class="col-sm-4 ui-fluid-no-padding ui-fluid">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.planning_power"
                       formControlName="planning_power"/>
            </div>
            <label class="col-sm-2 control-label">规划机架位(个)：</label>
            <div class="col-sm-4 ui-fluid-no-padding">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.planning_rack"
                       formControlName="planning_rack"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">规划PDU电口(个)：</label>
            <div class="col-sm-4 ui-fluid-no-padding ui-fluid">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.planning_pdu"
                       formControlName="planning_pdu"/>
            </div>
            <label class="col-sm-2 control-label">规划网口数量(个)：</label>
            <div class="col-sm-4 ui-fluid-no-padding">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.planning_network_port"
                       formControlName="planning_network_port"/>
            </div>
        </div>
        <div class="form-group">
            <label class=" title-style col-sm-2 control-label text-align-left">告警阈值</label>
        </div>
        <div class="form-group">
            <label class="col-sm-1 control-label">功率(%)：</label>
            <div class="col-sm-3 ui-fluid-no-padding ui-fluid">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.threshold_power"
                       [ngModelOptions]="{standalone: true}"/>
            </div>
            <label class="col-sm-1 control-label">PDU电口(%)：</label>
            <div class="col-sm-3 ui-fluid-no-padding">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.threshold_pdu"
                       [ngModelOptions]="{standalone: true}"/>
            </div>
            <label class="col-sm-1 control-label">网口(%)：</label>
            <div class="col-sm-3 ui-fluid-no-padding">
                <input type="number"
                       class=" form-control"
                       pInputText
                       readonly
                       [(ngModel)]="cabinetObj.threshold_network_port"
                       [ngModelOptions]="{standalone: true}"/>
            </div>
        </div>
    </form>
</div>
